package kevin.ecstorm.pdd;

import com.baomidou.mybatisplus.extension.plugins.OptimisticLockerInterceptor;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

/**
 * ©Copyright ©1968-2020 Midea Group,IT
 * FileName: PddApplication
 * Author: kevin
 * Date: 2020年03月05日 22:54:52
 * Description: PddApplication
 */
@SpringBootApplication(exclude = KafkaAutoConfiguration.class)
@EnableDiscoveryClient(autoRegister = false)
@MapperScan("kevin.ecstorm.pdd.mapper")
public class PddApplication {
    public static void main(String[] args) {
        SpringApplication.run(PddApplication.class, args);
    }
}
